package com.heima.aliyun.green.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/****
 * bootstrap.yml
 * leadnews:
 *    aliyun:
 *       accessKey: dsfdsfdsf
 *       secret: dsffsdfdsf
 */
@Data
@ConfigurationProperties(prefix = "aliyun.green")// 配置前缀
public class AliyunProperties {
    private String accessKey;
    private String secret;
    private List<String> scenes;
}
